//
//  BaseScrollViewController.h
//  KeleAppProject
//
//  Created by 周岑 on 2018/1/14.
//  Copyright © 2018年 Cen Zhou. All rights reserved.
//

#import "KeleBaseViewController.h"

@interface BaseScrollViewController : KeleBaseViewController


@property (nonatomic, strong) UIScrollView *scrollView;

// 加载控件
- (void)loadSubviewsOnHomeWithScrollHeight:(CGFloat)height
                                         y:(CGFloat)y
                                  titleArr:(NSArray *)titleArr;


// 配置导航栏的titleView
- (void)configureNavTitleViewWithDataSource:(NSArray *)titleArr
                                      width:(CGFloat)width
                                   distance:(CGFloat)distance
                           notificationName:(NSString *)notificationName;


// 添加自控制器
- (void)addChildControllersWithArray:(NSArray *)controlerNameArr;


- (void)setUpOneChildViewController:(NSInteger)i;

@end
